<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>输入过滤</title>

    <script src="../../resources/src/js/angular.js"></script>
</head>
<body ng-app="myApp" ng-controller="inputContr">
    <input type="text" ng-model="name">
    <br>
    <ul>
        <li ng-repeat="char in text | filter:name">
            {{char}}
        </li>
    </ul>
</body>
<script src="../../resources/src/js/filters/inputFilter.js"></script>
</html>